#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "mypushbutton.h"
#include "chooselevelscene.h"

#include <QMainWindow>
#include <QPaintEvent>
#include <QPainter>
#include <QPushButton>
#include <QTimer>
#include <QSound> // 多媒体模块


QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class My_Game : public QMainWindow
{
    Q_OBJECT

public:
    My_Game(QWidget *parent = nullptr);
    ~My_Game();

    //选择关卡场景
    ChooseLevelScene *chooseScene = new ChooseLevelScene;


protected:
    void paintEvent(QPaintEvent *event);

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
